#ifndef __BITOPS_H__
#define __BITOPS_H__

int set_bit(int nr, void *addr);
int clear_bit(int nr, void *addr);
int test_bit(int nr, void *addr);
int test_and_change_bit(int nr, volatile unsigned char *map);
void change_bit(int nr, volatile unsigned char *map);
int test_and_set_bit(int nr, volatile unsigned char *map);
int fls(int x);
int ffs(unsigned int word);
int ffz(unsigned int word);
int ffs64(unsigned long word);

#endif
